package com.scs.application.modules.fsd.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class SaveFpTempDTO {
    @NotBlank(message = "职位不能为空")
    private String id;
    @NotBlank(message = "登录账号不能为空")
    private String remark;
    @NotBlank(message = "登录密码不能为空")
    private Boolean reCollection;
    @NotBlank(message = "工号不能为空")
    private Boolean discarded;
    @NotNull(message = "职位不能为空")
    private Integer version;

    public SaveFpTempDTO(String id, String remark, Boolean reCollection, Boolean discarded, Integer version) {
        this.id = id;
        this.remark = remark;
        this.reCollection = reCollection;
        this.discarded = discarded;
        this.version = version;
    }
}
